//
//  ShoppingCarModel.m
//  CenturyInterconnection
//
//  Created by Tian Wei You on 16/5/10.
//  Copyright © 2016年 Shanghai DuRui Information Technology Company. All rights reserved.
//

#import "ShoppingCarModel.h"

@implementation ShoppingCarModel



-(instancetype)initWithShopCarWithDic:(NSDictionary *)dict{
    self=[super init];
    if (self) {
        self.idd=dict[@"id"];
        self.products_id=dict[@"products_id"];
        self.products_name=dict[@"products_name"];
        self.quantity=[dict[@"quantity"] floatValue];
        self.weight=dict[@"weight"];
        self.final_price=[dict[@"final_price"] floatValue];
        self.format_price=dict[@"format_price"];
        self.total_price=dict[@"total_price"];
        self.format_total_price=dict[@"format_total_price"];
        self.products_image=dict[@"products_image"];
        self.attributes=dict[@"attributes"];
    }
    return self;
}

@end
